/*
 * igo: com.cctv.igo.admin.scheduler.parser.DateIntervalTriggerParser.java Create On 2011-5-3 下午10:43:13 By Q-Wang
 * $Revision: 1.1 $
 */
package com.ctvit.scheduler.parser;

import java.text.ParseException;

import org.quartz.DateIntervalTrigger;
import org.quartz.Trigger;

import com.ctvit.scheduler.domain.QrtxTrigger;

/**
 * @author <a href="mailto:apeidou@gmail.com">Q-Wang</a>
 *
 */
public class DateIntervalTriggerParser implements TriggerParser {

	/**
	 * @see com.ctvit.scheduler.parser.TriggerParser#parse(QrtxTrigger)
	 */
	@Override
	public Trigger parse(QrtxTrigger source) throws ParseException {
		Trigger trigger = new DateIntervalTrigger();
		// TODO 未完成
		return trigger;
	}

	/**
	 * @see com.ctvit.scheduler.parser.TriggerParser#support(java.lang.String)
	 */
	@Override
	public boolean support(String type) {
		return false;
	}
}
